
#ifndef __INIPARSE_H__
#define __INIPARSE_H__
#include "stdlib.h"
#include "stdio.h"
#include "stdint.h"
#include "string.h"
#include "stdbool.h"

#define BLOCK_SIZE 200
#define MAX_LINE 50
#define MAX_ITEM_NAME_LEN 20
#define MAX_ITEM_DATA_LEN 50

typedef struct
{
    uint8_t groupName[MAX_ITEM_NAME_LEN];
    uint8_t itemName[MAX_ITEM_NAME_LEN];
    uint8_t itemData[MAX_ITEM_DATA_LEN];
} OtaInfo_t;

typedef enum
{
    LINE_PARSE_TYPE_TITLE = 0,
    LINE_PARSE_TYPE_ITEM,

} lineParseType_t;
#endif